package com.dgut.coal.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Auditrecord {
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Integer id;

    private String register;

    private Date register_date;

    private Date audit_date;

    private String audit_unit;

    private String auditor;

    private String supply_category;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRegister() {
        return register;
    }

    public void setRegister(String register) {
        this.register = register;
    }

    public Date getRegister_date() {
        return register_date;
    }

    public void setRegister_date(Date register_date) {
        this.register_date = register_date;
    }

    public Date getAudit_date() {
        return audit_date;
    }

    public void setAudit_date(Date audit_date) {
        this.audit_date = audit_date;
    }

    public String getAudit_unit() {
        return audit_unit;
    }

    public void setAudit_unit(String audit_unit) {
        this.audit_unit = audit_unit;
    }

    public String getAuditor() {
        return auditor;
    }

    public void setAuditor(String auditor) {
        this.auditor = auditor;
    }

    public String getSupply_category() {
        return supply_category;
    }

    public void setSupply_category(String supply_category) {
        this.supply_category = supply_category;
    }

    @Override
    public String toString() {
        return "Auditrecord{" +
                "id=" + id +
                ", register='" + register + '\'' +
                ", register_date=" + register_date +
                ", audit_date=" + audit_date +
                ", audit_unit='" + audit_unit + '\'' +
                ", auditor='" + auditor + '\'' +
                ", supply_category='" + supply_category + '\'' +
                '}';
    }
}
